package com.lam.code.configuration.prop;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author lam
 * @description Shiro属性配置
 * @date 2019/12/24 22:24
 */
@Data
@ConfigurationProperties(prefix = "shiro")
public class ShiroProperties {
    //是否开启shiro
    private boolean enabled = Boolean.TRUE;

    //登录url
    private String loginUrl = "/login";

    //免验证url,多个以,隔开
    private String anonUrl = "";

    //加密salt,数据库存储的用户密码的加密salt，与jwt加密的盐值不同
    private String encryptSalt = "F1339dEhdnnE23#221";
}
